// 公共js方法
import 'element-ui/lib/theme-chalk/index.css';
import ElementUI from 'element-ui';

const common = {
    // 成功的消息提示
    successNotify(title, message) {
        const h = this.$createElement;
        this.$notify({
            title: title,
            message: h('i', {style: 'color: teal'}, message)
        });
    }
};

export default common
